
package streamer.de.marcovas;

import java.io.IOException;

/**
 *
 * @author bruno
 */
public class Streamer {
    
    private String source;
    private String ip;
    private int port;

 
    
    public void start() throws IOException{
        Runtime.getRuntime().exec("vlc");
    }

    public void stop() throws IOException{
        Runtime.getRuntime().exec("killall vlc");
    }
    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
    
    
    
}
